import 'dart:typed_data';
import 'package:hive/hive.dart';
part 'dd_hive_comment_model.g.dart';

@HiveType(typeId: 2)
class HiveCommentModel extends HiveObject {
  @HiveField(0)
  String? messageId;

  @HiveField(1)
  String? message;

  @HiveField(2)
  int? type;

  @HiveField(3)
  Uint8List? iconData;

  @HiveField(4)
  String? iconUrl;

  @HiveField(5)
  Uint8List? imageData;

  @HiveField(6)
  String? soundData;

  @HiveField(7)
  String? uid;

  @HiveField(8)
  String? name;

  @HiveField(9)
  String? time;

  @HiveField(10)
  bool? myLikes;

  @HiveField(11)
  String? soundUrl;

  @HiveField(12)
  int? soundTime;


  HiveCommentModel({
    this.messageId,
    this.message,
    this.type,
    this.iconData,
    this.iconUrl,
    this.imageData,
    this.soundData,
    this.uid,
    this.name,
    this.time,
    this.myLikes,
    this.soundUrl,
    this.soundTime,
  });
}
